package protocol

import "net"

const ProtocolQuit = 0x2000

type Protocol interface {
	Init(conn *net.TCPConn, rtu int16)
	Handler(data string)
	Run() int
	Delete()
}
type Factory interface {
	Create() Protocol
	InitPara([]interface{})
}
